package com.officeFactory.officeformat;

import com.officeFactory.OfficeSaveFormat;
import com.officeFactory.officebuild.ExcelFormat;

import java.io.FileInputStream;
import java.io.OutputStream;

/**
 * Created by wangg on 2017/12/7.
 */
public class ExcelForPDF extends ExcelFormat {
    private static final int FORMAT = OfficeSaveFormat.E_PDF;
    @Override
    public void officeFormat(String officePath, String pdfPath) {
        super.officeFormat(officePath,pdfPath, FORMAT);
    }

    @Override
    public void officeFormat(FileInputStream officeIn, OutputStream pdfOut) {
        super.officeFormat(officeIn,pdfOut, FORMAT);
    }

    @Override
    public void officeFormat(String officePath, OutputStream pdfOut) {
        super.officeFormat(officePath,pdfOut, FORMAT);
    }

    @Override
    public void officeFormat(FileInputStream officeIn, String pdfPath) {
        super.officeFormat(officeIn,pdfPath, FORMAT);
    }
}
